package com.nsu.cl.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.nsu.cl.pojo.Subject;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 52618
* @description 针对表【subject(科目表)】的数据库操作Service
* @createDate 2023-02-16 14:21:02
*/
public interface SubjectService extends IService<Subject> {

    List<Subject> getSubjects();

    IPage<Subject> getSubjectByOpr(Page<Subject> page, String name);

    Subject getByName(Subject subject);
}
